package ru.autofan.logic;

import java.util.Collection;
import java.util.Map;

public interface DaoSupporter {

	public <T> Collection<T> getList(Class<T> clazz, String query, Map<String, Object> params);
	
	public <T> Collection<T> getList(Class<T> clazz, String query);
	
	public <T> T getUniqueObject(Class<T> clazz, String query);
	
	public <T> T getUniqueObject(Class<T> clazz, String query, Map<String, Object> params);
	
}
